package com.mes.controller;


import com.mes.entity.MesFactoryModel;
import com.mes.service.MesFactoryModelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.Map;

/**
 * @BelongsPackage: com.mes.controller
 * @Author: 源源瞬转
 * @CreateTime: 2024-10-10  08:41
 * @Description TODO:
 */
@RequestMapping("/MesFactoryModelController")
@RestController
public class MesFactoryModelController {

    @Autowired
    private MesFactoryModelService mesFactoryModelService;

    @PostMapping("/ListByPageByLike/{pageNum}/{pageSize}")
    public Map ListByPageByLike(@PathVariable Integer pageNum,@PathVariable Integer pageSize, @RequestBody MesFactoryModel mesFactoryModel){
        Map map = mesFactoryModelService.ListByPageByLike(pageNum,pageSize,mesFactoryModel);
        return map;

    }


}
